#Lots of boring GUI code
#UI design by Nathan and Tony
#
#Written by PyQt
# Form implementation generated from reading ui file 'main.ui'
#
# Created: Sun Dec 11 22:55:42 2011
#      by: PyQt4 UI code generator 4.8.5


from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(851, 664)
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.splitter = QtGui.QSplitter(self.centralwidget)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.splitter)
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.top = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.top.setMargin(0)
        self.top.setObjectName(_fromUtf8("top"))
        self.topLeft = QtGui.QVBoxLayout()
        self.topLeft.setObjectName(_fromUtf8("topLeft"))
        self.viewBox = QtGui.QComboBox(self.horizontalLayoutWidget)
        self.viewBox.setMinimumSize(QtCore.QSize(200, 0))
        self.viewBox.setMaximumSize(QtCore.QSize(500, 16777215))
        self.viewBox.setObjectName(_fromUtf8("viewBox"))
        self.topLeft.addWidget(self.viewBox)
        self.graphSpace = QtGui.QVBoxLayout()
        self.graphSpace.setObjectName(_fromUtf8("graphSpace"))
        self.topLeft.addLayout(self.graphSpace)
        self.top.addLayout(self.topLeft)
        self.topRight = QtGui.QVBoxLayout()
        self.topRight.setObjectName(_fromUtf8("topRight"))
        self.graph_data_label = QtGui.QLabel(self.horizontalLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graph_data_label.sizePolicy().hasHeightForWidth())
        self.graph_data_label.setSizePolicy(sizePolicy)
        self.graph_data_label.setText(QtGui.QApplication.translate("MainWindow", "Graph Data", None, QtGui.QApplication.UnicodeUTF8))
        self.graph_data_label.setObjectName(_fromUtf8("graph_data_label"))
        self.topRight.addWidget(self.graph_data_label)
        self.tabWidget = QtGui.QTabWidget(self.horizontalLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setMinimumSize(QtCore.QSize(200, 0))
        self.tabWidget.setMaximumSize(QtCore.QSize(400, 16777215))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_server = QtGui.QWidget()
        self.tab_server.setObjectName(_fromUtf8("tab_server"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_server)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.serv_bUpload = QtGui.QRadioButton(self.tab_server)
        self.serv_bUpload.setText(QtGui.QApplication.translate("MainWindow", "Upload Rate", None, QtGui.QApplication.UnicodeUTF8))
        self.serv_bUpload.setChecked(True)
        self.serv_bUpload.setObjectName(_fromUtf8("serv_bUpload"))
        self.verticalLayout_4.addWidget(self.serv_bUpload)
        self.serv_bPeers = QtGui.QRadioButton(self.tab_server)
        self.serv_bPeers.setText(QtGui.QApplication.translate("MainWindow", "Number Peers", None, QtGui.QApplication.UnicodeUTF8))
        self.serv_bPeers.setObjectName(_fromUtf8("serv_bPeers"))
        self.verticalLayout_4.addWidget(self.serv_bPeers)
        self.serv_bTors = QtGui.QRadioButton(self.tab_server)
        self.serv_bTors.setText(QtGui.QApplication.translate("MainWindow", "Number Torrents", None, QtGui.QApplication.UnicodeUTF8))
        self.serv_bTors.setObjectName(_fromUtf8("serv_bTors"))
        self.verticalLayout_4.addWidget(self.serv_bTors)
        self.tabWidget.addTab(self.tab_server, _fromUtf8(""))
        self.tab_options = QtGui.QWidget()
        self.tab_options.setObjectName(_fromUtf8("tab_options"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tab_options)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.opt_markersOn = QtGui.QRadioButton(self.tab_options)
        self.opt_markersOn.setText(QtGui.QApplication.translate("MainWindow", "Markers on", None, QtGui.QApplication.UnicodeUTF8))
        self.opt_markersOn.setChecked(True)
        self.opt_markersOn.setObjectName(_fromUtf8("opt_markersOn"))
        self.verticalLayout.addWidget(self.opt_markersOn)
        self.opt_markersOff = QtGui.QRadioButton(self.tab_options)
        self.opt_markersOff.setText(QtGui.QApplication.translate("MainWindow", "Markers off", None, QtGui.QApplication.UnicodeUTF8))
        self.opt_markersOff.setObjectName(_fromUtf8("opt_markersOff"))
        self.verticalLayout.addWidget(self.opt_markersOff)
        self.tabWidget.addTab(self.tab_options, _fromUtf8(""))
        self.topRight.addWidget(self.tabWidget)
        self.list_label = QtGui.QLabel(self.horizontalLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.list_label.sizePolicy().hasHeightForWidth())
        self.list_label.setSizePolicy(sizePolicy)
        self.list_label.setText(QtGui.QApplication.translate("MainWindow", "Server Status", None, QtGui.QApplication.UnicodeUTF8))
        self.list_label.setObjectName(_fromUtf8("list_label"))
        self.topRight.addWidget(self.list_label)
        self.serverList = QtGui.QListView(self.horizontalLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.serverList.sizePolicy().hasHeightForWidth())
        self.serverList.setSizePolicy(sizePolicy)
        self.serverList.setMinimumSize(QtCore.QSize(200, 0))
        self.serverList.setMaximumSize(QtCore.QSize(400, 16777215))
        self.serverList.setObjectName(_fromUtf8("serverList"))
        self.topRight.addWidget(self.serverList)
        self.top.addLayout(self.topRight)
        self.tableView = QtGui.QTableView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableView.sizePolicy().hasHeightForWidth())
        self.tableView.setSizePolicy(sizePolicy)
        self.tableView.setMinimumSize(QtCore.QSize(0, 200))
        self.tableView.setObjectName(_fromUtf8("tableView"))
        self.tableView.horizontalHeader().setSortIndicatorShown(True)
        self.tableView.verticalHeader().setVisible(False)
        self.verticalLayout_9.addWidget(self.splitter)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 851, 25))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuTesting = QtGui.QMenu(self.menubar)
        self.menuTesting.setTitle(QtGui.QApplication.translate("MainWindow", "Testing", None, QtGui.QApplication.UnicodeUTF8))
        self.menuTesting.setObjectName(_fromUtf8("menuTesting"))
        self.menuSend_Messages = QtGui.QMenu(self.menuTesting)
        self.menuSend_Messages.setTitle(QtGui.QApplication.translate("MainWindow", "Send Messages", None, QtGui.QApplication.UnicodeUTF8))
        self.menuSend_Messages.setObjectName(_fromUtf8("menuSend_Messages"))
        MainWindow.setMenuBar(self.menubar)
        self.actionStatic = QtGui.QAction(MainWindow)
        self.actionStatic.setText(QtGui.QApplication.translate("MainWindow", "Static", None, QtGui.QApplication.UnicodeUTF8))
        self.actionStatic.setObjectName(_fromUtf8("actionStatic"))
        self.actionDynamic = QtGui.QAction(MainWindow)
        self.actionDynamic.setText(QtGui.QApplication.translate("MainWindow", "Dynamic", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDynamic.setObjectName(_fromUtf8("actionDynamic"))
        self.actionRealistic = QtGui.QAction(MainWindow)
        self.actionRealistic.setText(QtGui.QApplication.translate("MainWindow", "Realistic", None, QtGui.QApplication.UnicodeUTF8))
        self.actionRealistic.setObjectName(_fromUtf8("actionRealistic"))
        self.actionKill = QtGui.QAction(MainWindow)
        self.actionKill.setText(QtGui.QApplication.translate("MainWindow", "Kill send script", None, QtGui.QApplication.UnicodeUTF8))
        self.actionKill.setObjectName(_fromUtf8("actionKill"))
        self.actionConnect = QtGui.QAction(MainWindow)
        self.actionConnect.setText(QtGui.QApplication.translate("MainWindow", "Connect", None, QtGui.QApplication.UnicodeUTF8))
        self.actionConnect.setObjectName(_fromUtf8("actionConnect"))
        self.menuFile.addAction(self.actionConnect)
        self.menuSend_Messages.addAction(self.actionStatic)
        self.menuSend_Messages.addAction(self.actionDynamic)
        self.menuSend_Messages.addAction(self.actionRealistic)
        self.menuTesting.addAction(self.menuSend_Messages.menuAction())
        self.menuTesting.addAction(self.actionKill)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuTesting.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_server), QtGui.QApplication.translate("MainWindow", "Server", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_options), QtGui.QApplication.translate("MainWindow", "Options", None, QtGui.QApplication.UnicodeUTF8))

